//
//  CustomSpannerView.h
//  laowu
//
//  Created by 尹桥印 on 15/4/30.
//  Copyright (c) 2015年 长沙市岳麓区立早网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomSpannerViewDelegate <NSObject>

@required
-(void)customSpannerItemClick:(NSString *)title index:(NSInteger)index bearingView:(UIView *)bearingView;
@end
@interface CustomSpannerView : UIView
@property (nonatomic,weak)id<CustomSpannerViewDelegate> delegate;
@property (nonatomic,assign)BOOL isTop;
-(instancetype)initWithStringArray:(NSArray *)array showPoint:(CGPoint)showPoint width:(CGFloat)width;
-(instancetype)initWithStringArray:(NSArray *)array bearingView:(UIView *)bearingView;
-(void)show;
@end
